package com.zcoj.service;

import org.springframework.web.multipart.MultipartFile;

import java.io.File;

/**
 * Service定义
 * @author 剩xia的盛夏
 * @date 2023/02/24 16:16
 */
public interface FileService {



    File saveFile(MultipartFile file, String abstractFilePathName);

    File uploadFileImg(MultipartFile file,String abstractFilePathName);

    Boolean deleteFile(String abstractFilePathName);

    File saveProblemTestcase(Integer problemId, MultipartFile file);

    Boolean delAllProblemTestcase(Integer problemId);

    Boolean delSingleProblemTestcase(Integer problemId,String testcaseId);
}
